package com.offcn.dongyimai.sellergoods.pojo.vo;

import com.offcn.dongyimai.sellergoods.pojo.Specification;
import com.offcn.dongyimai.sellergoods.pojo.SpecificationOption;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * @author Administrator
 * @date 2021/7/30 19:31
 * @description
 **/
@ApiModel(description = "规格复合实体类",value = "SpecificationVo")
public class SpecificationVo implements Serializable {

    @ApiModelProperty(value = "规格对象",required = false)
    private Specification specification;

    @ApiModelProperty(value = "规格选项对象",required = false)
    private List<SpecificationOption> specificationOptionList;

    public SpecificationVo() {
        super();
    }


    public SpecificationVo(Specification specification, List<SpecificationOption> specificationOptionList) {
        super();
        this.specification = specification;
        this.specificationOptionList = specificationOptionList;
    }

    public Specification getSpecification() {
        return specification;
    }

    public void setSpecification(Specification specification) {
        this.specification = specification;
    }

    public List<SpecificationOption> getSpecificationOptionList() {
        return specificationOptionList;
    }

    public void setSpecificationOptionList(List<SpecificationOption> specificationOptionList) {
        this.specificationOptionList = specificationOptionList;
    }
}
